import { type RouteRecordRaw } from 'vue-router';

export const logRoutes: RouteRecordRaw[] = [
  {
    path: '/log',
    name: 'log',
    meta: { title: '日志管理', icon: 'nav_7' },
    children: [
      {
        path: 'warnLogs',
        name: 'warnLogs',
        meta: { title: '告警日志' },
        component: () => import('@/views/log/warnLogs/Index.vue'),
      },
      {
        path: 'operationLogs',
        name: 'operationLogs',
        meta: { title: '操作日志' },
        component: () => import('@/views/log/operationLogs/Index.vue'),
      },
      {
        path: 'loginLogs',
        name: 'loginLogs',
        meta: { title: '登录日志' },
        component: () => import('@/views/log/loginLogs/Index.vue'),
      },
    ],
  },
];
